Drain fuel from the tank and disconnect the negative cable from the battery, ensuring to read the battery disconnection cautions beforehand. While working at the handbrake, use BMW special tool 34 1 030 to remove the lock nut and adjusting nut from the handbrake cables. Remove the rear seat to access the fuel pump and fuel level sender. On the right side of the fuel tank, disconnect the harness connector from the fuel pump and fuel level sender by sliding the lock to release it, then cut the hose clamp and disconnect the hose. Remove the hose clamp and release the fuel tank vent line from underneath the forward edge of the access opening. On the left side of the fuel tank, disconnect the harness connector from the fuel level sender by pinching the locking tabs to release it, then cut the hose clamp and disconnect the hose. Lift the car and support it safely, then remove the complete exhaust system and heat shield, followed by the rear drive shaft. Remove the fuel tank underbody protection on both the left and right sides, unclip the emergency brake cables from the guide tubes on the bottom of the fuel tank, and tie the cables out of the way. At the front edge of the fuel tank, remove the fuel filter by detaching the vacuum line, fuel lines, and fasteners to release it from the brackets. Using BMW special tool 16 1 050, remove the hose on the charcoal canister, then remove the right rear wheel well trim and detach the fuel filler hose from the filler pipe. Identify and label hoses for the fuel expansion tank, remove the clamp on the fuel tank side of each hose connection, and separate the hoses at the connection point. Support the fuel tank with a suitable jack, ensuring the retaining straps are not covered, then remove the fasteners from the right, left, and center fuel tank retaining straps, unhook the straps, and remove them while ensuring the fuel tank remains balanced on the jack. Carefully lower the fuel tank approximately 20 cm (8 in) and feed the expansion tank hoses through the opening in the right rear wheel well arch. Check for other hoses and electrical connectors, disconnect as necessary, and remove the fuel tank. For installation, reverse the removal process, using new seals, gaskets, O-rings, and hose clamps, inspecting hoses for any damage and replacing as needed, checking the heat shield and rubber buffers for corrosion or damage, and ensuring the filler neck grounding screw is reattached if removed. After completing repairs, fill the fuel tank with at least 5 liters (1.5 gallons) of fuel, as running the fuel pump without fuel will cause damage.