I am not a lawyer, and this is not legal advice. However, I can provide some general information about the situation.
The legality of your situation depends on various factors, including local laws, any agreements or contracts you may have with your friend, and the specific circumstances surrounding the shed's presence on your friend's property. Here are some general points to consider:
Ownership and Permission: If your friend owns the property, they have the right to control what is on their land. If you placed the shed on their property with their permission, there might not be an issue. However, if you did not have explicit permission to install the shed, your friend may have grounds to demand its removal.
Verbal or Written Agreement: If there was a verbal or written agreement between you and your friend about the shed's placement, it could affect your legal rights. If there was a written agreement, it's essential to review its terms and conditions to understand your rights and obligations.
Adverse Possession: In some regions, there are laws related to adverse possession that may come into play if you have had the shed on your friend's property for an extended period. However, these laws vary widely and often have strict requirements that must be met for adverse possession to apply.
Local Zoning Regulations: Local zoning laws may impact whether you can keep the shed on your friend's property. Some areas have specific zoning rules about structures, and if the shed violates those regulations, it may need to be removed.
Mediation or Legal Advice: If the situation becomes contentious, you may consider seeking legal advice or mediation to help resolve the matter. A legal professional can review the specific details of your situation and advise you on the best course of action based on the relevant laws in your area.
Amicable Solutions: In any case, it's often best to try and find an amicable solution with your friend. Communication is crucial. If there is a misunderstanding or a reason behind your friend's anger, addressing it openly and honestly might help resolve the situation without legal action.
In this situation, it's essential to consult with a lawyer who is familiar with local property laws and regulations to get specific guidance based on your circumstances. They can provide tailored advice and help you understand your legal rights and options more accurately.