A forensic search would require reasonable suspicion. I'm not aware of any legal weight attached to batteries - what's the legal precedent you're thinking of?
Having a third party install anything new (i.e. battery) to the device that wasn't present when it was confiscated would put into question the integrity of anything found on the device.